Optimal. Leaf size=762 \[ \frac {f x}{2 a d}+\frac {2 b f x \text {ArcTan}\left (e^{c+d x}\right )}{a^2 d}-\frac {2 b^3 (e+f x) \text {ArcTan}\left (e^{c+d x}\right )}{a^2 \left (a^2+b^2\right ) d}-\frac {b f x \text {ArcTan}(\sinh (c+d x))}{a^2 d}+\frac {b (e+f x) \text {ArcTan}(\sinh (c+d x))}{a^2 d}+\frac {2 f x \tanh ^{-1}\left (e^{2 c+2 d x}\right )}{a d}-\frac {2 b^2 (e+f x) \tanh ^{-1}\left (e^{2 c+2 d x}\right )}{a^3 d}+\frac {b f \tanh ^{-1}(\cosh (c+d x))}{a^2 d^2}-\frac {f \coth (c+d x)}{2 a d^2}-\frac {(e+f x) \coth ^2(c+d x)}{2 a d}+\frac {b (e+f x) \text {csch}(c+d x)}{a^2 d}-\frac {b^4 (e+f x) \log \left (1+\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{a^3 \left (a^2+b^2\right ) d}-\frac {b^4 (e+f x) \log \left (1+\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{a^3 \left (a^2+b^2\right ) d}+\frac {b^4 (e+f x) \log \left (1+e^{2 (c+d x)}\right )}{a^3 \left (a^2+b^2\right ) d}+\frac {f x \log (\tanh (c+d x))}{a d}-\frac {(e+f x) \log (\tanh (c+d x))}{a d}-\frac {i b f \text {PolyLog}\left (2,-i e^{c+d x}\right )}{a^2 d^2}+\frac {i b^3 f \text {PolyLog}\left (2,-i e^{c+d x}\right )}{a^2 \left (a^2+b^2\right ) d^2}+\frac {i b f \text {PolyLog}\left (2,i e^{c+d x}\right )}{a^2 d^2}-\frac {i b^3 f \text {PolyLog}\left (2,i e^{c+d x}\right )}{a^2 \left (a^2+b^2\right ) d^2}-\frac {b^4 f \text {PolyLog}\left (2,-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{a^3 \left (a^2+b^2\right ) d^2}-\frac {b^4 f \text {PolyLog}\left (2,-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{a^3 \left (a^2+b^2\right ) d^2}+\frac {b^4 f \text {PolyLog}\left (2,-e^{2 (c+d x)}\right )}{2 a^3 \left (a^2+b^2\right ) d^2}+\frac {f \text {PolyLog}\left (2,-e^{2 c+2 d x}\right )}{2 a d^2}-\frac {b^2 f \text {PolyLog}\left (2,-e^{2 c+2 d x}\right )}{2 a^3 d^2}-\frac {f \text {PolyLog}\left (2,e^{2 c+2 d x}\right )}{2 a d^2}+\frac {b^2 f \text {PolyLog}\left (2,e^{2 c+2 d x}\right )}{2 a^3 d^2} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.82, antiderivative size = 762, normalized size of antiderivative = 1.00, number of steps
used = 49, number of rules used = 23, integrand size = 32, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.719, Rules used = {5708, 2700,
14, 5570, 3554, 8, 2628, 12, 4267, 2317, 2438, 2701, 327, 213, 5311, 4265, 3855, 5569, 5692, 5680,
2221, 6874, 3799} \begin {gather*} -\frac {b^2 f \text {Li}_2\left (-e^{2 c+2 d x}\right )}{2 a^3 d^2}+\frac {b^2 f \text {Li}_2\left (e^{2 c+2 d x}\right )}{2 a^3 d^2}-\frac {2 b^2 (e+f x) \tanh ^{-1}\left (e^{2 c+2 d x}\right )}{a^3 d}-\frac {2 b^3 (e+f x) \text {ArcTan}\left (e^{c+d x}\right )}{a^2 d \left (a^2+b^2\right )}+\frac {b (e+f x) \text {ArcTan}(\sinh (c+d x))}{a^2 d}+\frac {2 b f x \text {ArcTan}\left (e^{c+d x}\right )}{a^2 d}-\frac {b f x \text {ArcTan}(\sinh (c+d x))}{a^2 d}+\frac {i b^3 f \text {Li}_2\left (-i e^{c+d x}\right )}{a^2 d^2 \left (a^2+b^2\right )}-\frac {i b^3 f \text {Li}_2\left (i e^{c+d x}\right )}{a^2 d^2 \left (a^2+b^2\right )}-\frac {i b f \text {Li}_2\left (-i e^{c+d x}\right )}{a^2 d^2}+\frac {i b f \text {Li}_2\left (i e^{c+d x}\right )}{a^2 d^2}+\frac {b f \tanh ^{-1}(\cosh (c+d x))}{a^2 d^2}+\frac {b (e+f x) \text {csch}(c+d x)}{a^2 d}-\frac {b^4 f \text {Li}_2\left (-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{a^3 d^2 \left (a^2+b^2\right )}-\frac {b^4 f \text {Li}_2\left (-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{a^3 d^2 \left (a^2+b^2\right )}+\frac {b^4 f \text {Li}_2\left (-e^{2 (c+d x)}\right )}{2 a^3 d^2 \left (a^2+b^2\right )}-\frac {b^4 (e+f x) \log \left (\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}+1\right )}{a^3 d \left (a^2+b^2\right )}-\frac {b^4 (e+f x) \log \left (\frac {b e^{c+d x}}{\sqrt {a^2+b^2}+a}+1\right )}{a^3 d \left (a^2+b^2\right )}+\frac {b^4 (e+f x) \log \left (e^{2 (c+d x)}+1\right )}{a^3 d \left (a^2+b^2\right )}+\frac {f \text {Li}_2\left (-e^{2 c+2 d x}\right )}{2 a d^2}-\frac {f \text {Li}_2\left (e^{2 c+2 d x}\right )}{2 a d^2}-\frac {f \coth (c+d x)}{2 a d^2}-\frac {(e+f x) \coth ^2(c+d x)}{2 a d}-\frac {(e+f x) \log (\tanh (c+d x))}{a d}+\frac {2 f x \tanh ^{-1}\left (e^{2 c+2 d x}\right )}{a d}+\frac {f x \log (\tanh (c+d x))}{a d}+\frac {f x}{2 a d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 8
Rule 12
Rule 14
Rule 213
Rule 327
Rule 2221
Rule 2317
Rule 2438
Rule 2628
Rule 2700
Rule 2701
Rule 3554
Rule 3799
Rule 3855
Rule 4265
Rule 4267
Rule 5311
Rule 5569
Rule 5570
Rule 5680
Rule 5692
Rule 5708
Rule 6874
Rubi steps
\begin {align*} \int \frac {(e+f x) \text {csch}^3(c+d x) \text {sech}(c+d x)}{a+b \sinh (c+d x)} \, dx &=\frac {\int (e+f x) \text {csch}^3(c+d x) \text {sech}(c+d x) \, dx}{a}-\frac {b \int \frac {(e+f x) \text {csch}^2(c+d x) \text {sech}(c+d x)}{a+b \sinh (c+d x)} \, dx}{a}\\ &=-\frac {(e+f x) \coth ^2(c+d x)}{2 a d}-\frac {(e+f x) \log (\tanh (c+d x))}{a d}-\frac {b \int (e+f x) \text {csch}^2(c+d x) \text {sech}(c+d x) \, dx}{a^2}+\frac {b^2 \int \frac {(e+f x) \text {csch}(c+d x) \text {sech}(c+d x)}{a+b \sinh (c+d x)} \, dx}{a^2}-\frac {f \int \left (-\frac {\coth ^2(c+d x)}{2 d}-\frac {\log (\tanh (c+d x))}{d}\right ) \, dx}{a}\\ &=\frac {b (e+f x) \tan ^{-1}(\sinh (c+d x))}{a^2 d}-\frac {(e+f x) \coth ^2(c+d x)}{2 a d}+\frac {b (e+f x) \text {csch}(c+d x)}{a^2 d}-\frac {(e+f x) \log (\tanh (c+d x))}{a d}+\frac {b^2 \int (e+f x) \text {csch}(c+d x) \text {sech}(c+d x) \, dx}{a^3}-\frac {b^3 \int \frac {(e+f x) \text {sech}(c+d x)}{a+b \sinh (c+d x)} \, dx}{a^3}+\frac {(b f) \int \left (-\frac {\tan ^{-1}(\sinh (c+d x))}{d}-\frac {\text {csch}(c+d x)}{d}\right ) \, dx}{a^2}+\frac {f \int \coth ^2(c+d x) \, dx}{2 a d}+\frac {f \int \log (\tanh (c+d x)) \, dx}{a d}\\ &=\frac {b (e+f x) \tan ^{-1}(\sinh (c+d x))}{a^2 d}-\frac {f \coth (c+d x)}{2 a d^2}-\frac {(e+f x) \coth ^2(c+d x)}{2 a d}+\frac {b (e+f x) \text {csch}(c+d x)}{a^2 d}+\frac {f x \log (\tanh (c+d x))}{a d}-\frac {(e+f x) \log (\tanh (c+d x))}{a d}+\frac {\left (2 b^2\right ) \int (e+f x) \text {csch}(2 c+2 d x) \, dx}{a^3}-\frac {b^3 \int (e+f x) \text {sech}(c+d x) (a-b \sinh (c+d x)) \, dx}{a^3 \left (a^2+b^2\right )}-\frac {b^5 \int \frac {(e+f x) \cosh (c+d x)}{a+b \sinh (c+d x)} \, dx}{a^3 \left (a^2+b^2\right )}+\frac {f \int 1 \, dx}{2 a d}-\frac {f \int 2 d x \text {csch}(2 c+2 d x) \, dx}{a d}-\frac {(b f) \int \tan ^{-1}(\sinh (c+d x)) \, dx}{a^2 d}-\frac {(b f) \int \text {csch}(c+d x) \, dx}{a^2 d}\\ &=\frac {f x}{2 a d}+\frac {b^4 (e+f x)^2}{2 a^3 \left (a^2+b^2\right ) f}-\frac {b f x \tan ^{-1}(\sinh (c+d x))}{a^2 d}+\frac {b (e+f x) \tan ^{-1}(\sinh (c+d x))}{a^2 d}-\frac {2 b^2 (e+f x) \tanh ^{-1}\left (e^{2 c+2 d x}\right )}{a^3 d}+\frac {b f \tanh ^{-1}(\cosh (c+d x))}{a^2 d^2}-\frac {f \coth (c+d x)}{2 a d^2}-\frac {(e+f x) \coth ^2(c+d x)}{2 a d}+\frac {b (e+f x) \text {csch}(c+d x)}{a^2 d}+\frac {f x \log (\tanh (c+d x))}{a d}-\frac {(e+f x) \log (\tanh (c+d x))}{a d}-\frac {b^3 \int (a (e+f x) \text {sech}(c+d x)-b (e+f x) \tanh (c+d x)) \, dx}{a^3 \left (a^2+b^2\right )}-\frac {b^5 \int \frac {e^{c+d x} (e+f x)}{a-\sqrt {a^2+b^2}+b e^{c+d x}} \, dx}{a^3 \left (a^2+b^2\right )}-\frac {b^5 \int \frac {e^{c+d x} (e+f x)}{a+\sqrt {a^2+b^2}+b e^{c+d x}} \, dx}{a^3 \left (a^2+b^2\right )}-\frac {(2 f) \int x \text {csch}(2 c+2 d x) \, dx}{a}+\frac {(b f) \int d x \text {sech}(c+d x) \, dx}{a^2 d}-\frac {\left (b^2 f\right ) \int \log \left (1-e^{2 c+2 d x}\right ) \, dx}{a^3 d}+\frac {\left (b^2 f\right ) \int \log \left (1+e^{2 c+2 d x}\right ) \, dx}{a^3 d}\\ &=\frac {f x}{2 a d}+\frac {b^4 (e+f x)^2}{2 a^3 \left (a^2+b^2\right ) f}-\frac {b f x \tan ^{-1}(\sinh (c+d x))}{a^2 d}+\frac {b (e+f x) \tan ^{-1}(\sinh (c+d x))}{a^2 d}+\frac {2 f x \tanh ^{-1}\left (e^{2 c+2 d x}\right )}{a d}-\frac {2 b^2 (e+f x) \tanh ^{-1}\left (e^{2 c+2 d x}\right )}{a^3 d}+\frac {b f \tanh ^{-1}(\cosh (c+d x))}{a^2 d^2}-\frac {f \coth (c+d x)}{2 a d^2}-\frac {(e+f x) \coth ^2(c+d x)}{2 a d}+\frac {b (e+f x) \text {csch}(c+d x)}{a^2 d}-\frac {b^4 (e+f x) \log \left (1+\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{a^3 \left (a^2+b^2\right ) d}-\frac {b^4 (e+f x) \log \left (1+\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{a^3 \left (a^2+b^2\right ) d}+\frac {f x \log (\tanh (c+d x))}{a d}-\frac {(e+f x) \log (\tanh (c+d x))}{a d}-\frac {b^3 \int (e+f x) \text {sech}(c+d x) \, dx}{a^2 \left (a^2+b^2\right )}+\frac {b^4 \int (e+f x) \tanh (c+d x) \, dx}{a^3 \left (a^2+b^2\right )}+\frac {(b f) \int x \text {sech}(c+d x) \, dx}{a^2}-\frac {\left (b^2 f\right ) \text {Subst}\left (\int \frac {\log (1-x)}{x} \, dx,x,e^{2 c+2 d x}\right )}{2 a^3 d^2}+\frac {\left (b^2 f\right ) \text {Subst}\left (\int \frac {\log (1+x)}{x} \, dx,x,e^{2 c+2 d x}\right )}{2 a^3 d^2}+\frac {f \int \log \left (1-e^{2 c+2 d x}\right ) \, dx}{a d}-\frac {f \int \log \left (1+e^{2 c+2 d x}\right ) \, dx}{a d}+\frac {\left (b^4 f\right ) \int \log \left (1+\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right ) \, dx}{a^3 \left (a^2+b^2\right ) d}+\frac {\left (b^4 f\right ) \int \log \left (1+\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right ) \, dx}{a^3 \left (a^2+b^2\right ) d}\\ &=\frac {f x}{2 a d}+\frac {2 b f x \tan ^{-1}\left (e^{c+d x}\right )}{a^2 d}-\frac {2 b^3 (e+f x) \tan ^{-1}\left (e^{c+d x}\right )}{a^2 \left (a^2+b^2\right ) d}-\frac {b f x \tan ^{-1}(\sinh (c+d x))}{a^2 d}+\frac {b (e+f x) \tan ^{-1}(\sinh (c+d x))}{a^2 d}+\frac {2 f x \tanh ^{-1}\left (e^{2 c+2 d x}\right )}{a d}-\frac {2 b^2 (e+f x) \tanh ^{-1}\left (e^{2 c+2 d x}\right )}{a^3 d}+\frac {b f \tanh ^{-1}(\cosh (c+d x))}{a^2 d^2}-\frac {f \coth (c+d x)}{2 a d^2}-\frac {(e+f x) \coth ^2(c+d x)}{2 a d}+\frac {b (e+f x) \text {csch}(c+d x)}{a^2 d}-\frac {b^4 (e+f x) \log \left (1+\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{a^3 \left (a^2+b^2\right ) d}-\frac {b^4 (e+f x) \log \left (1+\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{a^3 \left (a^2+b^2\right ) d}+\frac {f x \log (\tanh (c+d x))}{a d}-\frac {(e+f x) \log (\tanh (c+d x))}{a d}-\frac {b^2 f \text {Li}_2\left (-e^{2 c+2 d x}\right )}{2 a^3 d^2}+\frac {b^2 f \text {Li}_2\left (e^{2 c+2 d x}\right )}{2 a^3 d^2}+\frac {\left (2 b^4\right ) \int \frac {e^{2 (c+d x)} (e+f x)}{1+e^{2 (c+d x)}} \, dx}{a^3 \left (a^2+b^2\right )}+\frac {f \text {Subst}\left (\int \frac {\log (1-x)}{x} \, dx,x,e^{2 c+2 d x}\right )}{2 a d^2}-\frac {f \text {Subst}\left (\int \frac {\log (1+x)}{x} \, dx,x,e^{2 c+2 d x}\right )}{2 a d^2}+\frac {\left (b^4 f\right ) \text {Subst}\left (\int \frac {\log \left (1+\frac {b x}{a-\sqrt {a^2+b^2}}\right )}{x} \, dx,x,e^{c+d x}\right )}{a^3 \left (a^2+b^2\right ) d^2}+\frac {\left (b^4 f\right ) \text {Subst}\left (\int \frac {\log \left (1+\frac {b x}{a+\sqrt {a^2+b^2}}\right )}{x} \, dx,x,e^{c+d x}\right )}{a^3 \left (a^2+b^2\right ) d^2}-\frac {(i b f) \int \log \left (1-i e^{c+d x}\right ) \, dx}{a^2 d}+\frac {(i b f) \int \log \left (1+i e^{c+d x}\right ) \, dx}{a^2 d}+\frac {\left (i b^3 f\right ) \int \log \left (1-i e^{c+d x}\right ) \, dx}{a^2 \left (a^2+b^2\right ) d}-\frac {\left (i b^3 f\right ) \int \log \left (1+i e^{c+d x}\right ) \, dx}{a^2 \left (a^2+b^2\right ) d}\\ &=\frac {f x}{2 a d}+\frac {2 b f x \tan ^{-1}\left (e^{c+d x}\right )}{a^2 d}-\frac {2 b^3 (e+f x) \tan ^{-1}\left (e^{c+d x}\right )}{a^2 \left (a^2+b^2\right ) d}-\frac {b f x \tan ^{-1}(\sinh (c+d x))}{a^2 d}+\frac {b (e+f x) \tan ^{-1}(\sinh (c+d x))}{a^2 d}+\frac {2 f x \tanh ^{-1}\left (e^{2 c+2 d x}\right )}{a d}-\frac {2 b^2 (e+f x) \tanh ^{-1}\left (e^{2 c+2 d x}\right )}{a^3 d}+\frac {b f \tanh ^{-1}(\cosh (c+d x))}{a^2 d^2}-\frac {f \coth (c+d x)}{2 a d^2}-\frac {(e+f x) \coth ^2(c+d x)}{2 a d}+\frac {b (e+f x) \text {csch}(c+d x)}{a^2 d}-\frac {b^4 (e+f x) \log \left (1+\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{a^3 \left (a^2+b^2\right ) d}-\frac {b^4 (e+f x) \log \left (1+\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{a^3 \left (a^2+b^2\right ) d}+\frac {b^4 (e+f x) \log \left (1+e^{2 (c+d x)}\right )}{a^3 \left (a^2+b^2\right ) d}+\frac {f x \log (\tanh (c+d x))}{a d}-\frac {(e+f x) \log (\tanh (c+d x))}{a d}-\frac {b^4 f \text {Li}_2\left (-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{a^3 \left (a^2+b^2\right ) d^2}-\frac {b^4 f \text {Li}_2\left (-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{a^3 \left (a^2+b^2\right ) d^2}+\frac {f \text {Li}_2\left (-e^{2 c+2 d x}\right )}{2 a d^2}-\frac {b^2 f \text {Li}_2\left (-e^{2 c+2 d x}\right )}{2 a^3 d^2}-\frac {f \text {Li}_2\left (e^{2 c+2 d x}\right )}{2 a d^2}+\frac {b^2 f \text {Li}_2\left (e^{2 c+2 d x}\right )}{2 a^3 d^2}-\frac {(i b f) \text {Subst}\left (\int \frac {\log (1-i x)}{x} \, dx,x,e^{c+d x}\right )}{a^2 d^2}+\frac {(i b f) \text {Subst}\left (\int \frac {\log (1+i x)}{x} \, dx,x,e^{c+d x}\right )}{a^2 d^2}+\frac {\left (i b^3 f\right ) \text {Subst}\left (\int \frac {\log (1-i x)}{x} \, dx,x,e^{c+d x}\right )}{a^2 \left (a^2+b^2\right ) d^2}-\frac {\left (i b^3 f\right ) \text {Subst}\left (\int \frac {\log (1+i x)}{x} \, dx,x,e^{c+d x}\right )}{a^2 \left (a^2+b^2\right ) d^2}-\frac {\left (b^4 f\right ) \int \log \left (1+e^{2 (c+d x)}\right ) \, dx}{a^3 \left (a^2+b^2\right ) d}\\ &=\frac {f x}{2 a d}+\frac {2 b f x \tan ^{-1}\left (e^{c+d x}\right )}{a^2 d}-\frac {2 b^3 (e+f x) \tan ^{-1}\left (e^{c+d x}\right )}{a^2 \left (a^2+b^2\right ) d}-\frac {b f x \tan ^{-1}(\sinh (c+d x))}{a^2 d}+\frac {b (e+f x) \tan ^{-1}(\sinh (c+d x))}{a^2 d}+\frac {2 f x \tanh ^{-1}\left (e^{2 c+2 d x}\right )}{a d}-\frac {2 b^2 (e+f x) \tanh ^{-1}\left (e^{2 c+2 d x}\right )}{a^3 d}+\frac {b f \tanh ^{-1}(\cosh (c+d x))}{a^2 d^2}-\frac {f \coth (c+d x)}{2 a d^2}-\frac {(e+f x) \coth ^2(c+d x)}{2 a d}+\frac {b (e+f x) \text {csch}(c+d x)}{a^2 d}-\frac {b^4 (e+f x) \log \left (1+\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{a^3 \left (a^2+b^2\right ) d}-\frac {b^4 (e+f x) \log \left (1+\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{a^3 \left (a^2+b^2\right ) d}+\frac {b^4 (e+f x) \log \left (1+e^{2 (c+d x)}\right )}{a^3 \left (a^2+b^2\right ) d}+\frac {f x \log (\tanh (c+d x))}{a d}-\frac {(e+f x) \log (\tanh (c+d x))}{a d}-\frac {i b f \text {Li}_2\left (-i e^{c+d x}\right )}{a^2 d^2}+\frac {i b^3 f \text {Li}_2\left (-i e^{c+d x}\right )}{a^2 \left (a^2+b^2\right ) d^2}+\frac {i b f \text {Li}_2\left (i e^{c+d x}\right )}{a^2 d^2}-\frac {i b^3 f \text {Li}_2\left (i e^{c+d x}\right )}{a^2 \left (a^2+b^2\right ) d^2}-\frac {b^4 f \text {Li}_2\left (-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{a^3 \left (a^2+b^2\right ) d^2}-\frac {b^4 f \text {Li}_2\left (-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{a^3 \left (a^2+b^2\right ) d^2}+\frac {f \text {Li}_2\left (-e^{2 c+2 d x}\right )}{2 a d^2}-\frac {b^2 f \text {Li}_2\left (-e^{2 c+2 d x}\right )}{2 a^3 d^2}-\frac {f \text {Li}_2\left (e^{2 c+2 d x}\right )}{2 a d^2}+\frac {b^2 f \text {Li}_2\left (e^{2 c+2 d x}\right )}{2 a^3 d^2}-\frac {\left (b^4 f\right ) \text {Subst}\left (\int \frac {\log (1+x)}{x} \, dx,x,e^{2 (c+d x)}\right )}{2 a^3 \left (a^2+b^2\right ) d^2}\\ &=\frac {f x}{2 a d}+\frac {2 b f x \tan ^{-1}\left (e^{c+d x}\right )}{a^2 d}-\frac {2 b^3 (e+f x) \tan ^{-1}\left (e^{c+d x}\right )}{a^2 \left (a^2+b^2\right ) d}-\frac {b f x \tan ^{-1}(\sinh (c+d x))}{a^2 d}+\frac {b (e+f x) \tan ^{-1}(\sinh (c+d x))}{a^2 d}+\frac {2 f x \tanh ^{-1}\left (e^{2 c+2 d x}\right )}{a d}-\frac {2 b^2 (e+f x) \tanh ^{-1}\left (e^{2 c+2 d x}\right )}{a^3 d}+\frac {b f \tanh ^{-1}(\cosh (c+d x))}{a^2 d^2}-\frac {f \coth (c+d x)}{2 a d^2}-\frac {(e+f x) \coth ^2(c+d x)}{2 a d}+\frac {b (e+f x) \text {csch}(c+d x)}{a^2 d}-\frac {b^4 (e+f x) \log \left (1+\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{a^3 \left (a^2+b^2\right ) d}-\frac {b^4 (e+f x) \log \left (1+\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{a^3 \left (a^2+b^2\right ) d}+\frac {b^4 (e+f x) \log \left (1+e^{2 (c+d x)}\right )}{a^3 \left (a^2+b^2\right ) d}+\frac {f x \log (\tanh (c+d x))}{a d}-\frac {(e+f x) \log (\tanh (c+d x))}{a d}-\frac {i b f \text {Li}_2\left (-i e^{c+d x}\right )}{a^2 d^2}+\frac {i b^3 f \text {Li}_2\left (-i e^{c+d x}\right )}{a^2 \left (a^2+b^2\right ) d^2}+\frac {i b f \text {Li}_2\left (i e^{c+d x}\right )}{a^2 d^2}-\frac {i b^3 f \text {Li}_2\left (i e^{c+d x}\right )}{a^2 \left (a^2+b^2\right ) d^2}-\frac {b^4 f \text {Li}_2\left (-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{a^3 \left (a^2+b^2\right ) d^2}-\frac {b^4 f \text {Li}_2\left (-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{a^3 \left (a^2+b^2\right ) d^2}+\frac {b^4 f \text {Li}_2\left (-e^{2 (c+d x)}\right )}{2 a^3 \left (a^2+b^2\right ) d^2}+\frac {f \text {Li}_2\left (-e^{2 c+2 d x}\right )}{2 a d^2}-\frac {b^2 f \text {Li}_2\left (-e^{2 c+2 d x}\right )}{2 a^3 d^2}-\frac {f \text {Li}_2\left (e^{2 c+2 d x}\right )}{2 a d^2}+\frac {b^2 f \text {Li}_2\left (e^{2 c+2 d x}\right )}{2 a^3 d^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 7.18, size = 913, normalized size = 1.20 \begin {gather*} \frac {\left (2 b d e \cosh \left (\frac {1}{2} (c+d x)\right )-a f \cosh \left (\frac {1}{2} (c+d x)\right )-2 b c f \cosh \left (\frac {1}{2} (c+d x)\right )+2 b f (c+d x) \cosh \left (\frac {1}{2} (c+d x)\right )\right ) \text {csch}\left (\frac {1}{2} (c+d x)\right )}{4 a^2 d^2}+\frac {(-d e+c f-f (c+d x)) \text {csch}^2\left (\frac {1}{2} (c+d x)\right )}{8 a d^2}-\frac {e \log (\sinh (c+d x))}{a d}+\frac {b^2 e \log (\sinh (c+d x))}{a^3 d}+\frac {c f \log (\sinh (c+d x))}{a d^2}-\frac {b^2 c f \log (\sinh (c+d x))}{a^3 d^2}-\frac {b f \log \left (\tanh \left (\frac {1}{2} (c+d x)\right )\right )}{a^2 d^2}+\frac {i f \left (i (c+d x) \log \left (1-e^{-2 (c+d x)}\right )-\frac {1}{2} i \left (-(c+d x)^2+\text {PolyLog}\left (2,e^{-2 (c+d x)}\right )\right )\right )}{a d^2}-\frac {i b^2 f \left (i (c+d x) \log \left (1-e^{-2 (c+d x)}\right )-\frac {1}{2} i \left (-(c+d x)^2+\text {PolyLog}\left (2,e^{-2 (c+d x)}\right )\right )\right )}{a^3 d^2}-\frac {b^4 \left (-\frac {1}{2} f (c+d x)^2+f (c+d x) \log \left (1+\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )+f (c+d x) \log \left (1+\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )+d e \log (a+b \sinh (c+d x))-c f \log (a+b \sinh (c+d x))+f \text {PolyLog}\left (2,\frac {b e^{c+d x}}{-a+\sqrt {a^2+b^2}}\right )+f \text {PolyLog}\left (2,-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )\right )}{a^3 \left (a^2+b^2\right ) d^2}+\frac {-a d e (c+d x)+a c f (c+d x)-\frac {1}{2} a f (c+d x)^2+2 b d e \text {ArcTan}(\cosh (c+d x)+\sinh (c+d x))-2 b c f \text {ArcTan}(\cosh (c+d x)+\sinh (c+d x))+2 b f (c+d x) \text {ArcTan}(\cosh (c+d x)+\sinh (c+d x))+a d e \log (1+\cosh (2 (c+d x))+\sinh (2 (c+d x)))-a c f \log (1+\cosh (2 (c+d x))+\sinh (2 (c+d x)))+a f (c+d x) \log (1+\cosh (2 (c+d x))+\sinh (2 (c+d x)))-i b f \text {PolyLog}(2,-i (\cosh (c+d x)+\sinh (c+d x)))+i b f \text {PolyLog}(2,i (\cosh (c+d x)+\sinh (c+d x)))+\frac {1}{2} a f \text {PolyLog}(2,-\cosh (2 (c+d x))-\sinh (2 (c+d x)))}{\left (a^2+b^2\right ) d^2}+\frac {(d e-c f+f (c+d x)) \text {sech}^2\left (\frac {1}{2} (c+d x)\right )}{8 a d^2}+\frac {\text {sech}\left (\frac {1}{2} (c+d x)\right ) \left (-2 b d e \sinh \left (\frac {1}{2} (c+d x)\right )-a f \sinh \left (\frac {1}{2} (c+d x)\right )+2 b c f \sinh \left (\frac {1}{2} (c+d x)\right )-2 b f (c+d x) \sinh \left (\frac {1}{2} (c+d x)\right )\right )}{4 a^2 d^2} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Both result and optimal contain complex but leaf count of result is larger than twice
the leaf count of optimal. 1477 vs. \(2 (714 ) = 1428\).
time = 8.66, size = 1478, normalized size = 1.94
method | result | size |
risch | \(\text {Expression too large to display}\) | \(1478\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Both result and optimal contain complex but leaf count of result is larger than twice
the leaf count of optimal. 6634 vs. \(2 (704) = 1408\).
time = 0.48, size = 6634, normalized size = 8.71 \begin {gather*} \text {Too large to display} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: SystemError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {e+f\,x}{\mathrm {cosh}\left (c+d\,x\right )\,{\mathrm {sinh}\left (c+d\,x\right )}^3\,\left (a+b\,\mathrm {sinh}\left (c+d\,x\right )\right )} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________